How Accounting Systems Work